import React, { Component } from 'react';
import { connect } from 'dva';
import Search from './search';
import Lists from './lists';

class DvaDemo extends Component {

  constructor(props) {
    super(props);
    this.state = {

    };
  }


  render() {
    const aa = {}
    return (
      <div>
        <Search {...this.props}/>
        {/* {aa.data.id} */}
         <Lists {...this.props}/>

      </div>
    )
  }
}

export default connect(({search})=>({search}))(DvaDemo)
